package com.maybach.core.template;

import java.util.Map;

/**
 * Created by houenxun on 16/2/22.
 */
public interface ITemplateService {
    /**
     * 获取模版实体
     * @param target
     * @param params
     * @return
     */
    String getTempateBody(String target, Map<String, Object> params);

    /**
     * 获取标题
     * @param target
     * @return
     */
    String getTemplateTitle(String target);
}
